package com.quaidi.smartlocker.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 智能柜格实体类
 * 
 * @author QuaiDi
 * @since 2025-08-26
 */
@TableName("locker_compartment")
public class LockerCompartment extends BaseEntity {

    /**
     * 柜格编号
     */
    @TableField("compartment_code")
    private String compartmentCode;

    /**
     * 柜格尺寸：SMALL/MEDIUM/LARGE
     */
    @TableField("compartment_size")
    private String compartmentSize;

    /**
     * 柜格状态：AVAILABLE-可用，OCCUPIED-占用，MAINTENANCE-维护
     */
    @TableField("compartment_status")
    private String compartmentStatus;

    /**
     * 快递柜ID
     */
    @TableField("locker_id")
    private String lockerId;

    /**
     * 层数
     */
    @TableField("floor_number")
    private Integer floorNumber;

    /**
     * 位置编号
     */
    @TableField("position_number")
    private Integer positionNumber;

    // Getter and Setter methods
    public String getCompartmentCode() {
        return compartmentCode;
    }

    public void setCompartmentCode(String compartmentCode) {
        this.compartmentCode = compartmentCode;
    }

    public String getCompartmentSize() {
        return compartmentSize;
    }

    public void setCompartmentSize(String compartmentSize) {
        this.compartmentSize = compartmentSize;
    }

    public String getCompartmentStatus() {
        return compartmentStatus;
    }

    public void setCompartmentStatus(String compartmentStatus) {
        this.compartmentStatus = compartmentStatus;
    }

    public String getLockerId() {
        return lockerId;
    }

    public void setLockerId(String lockerId) {
        this.lockerId = lockerId;
    }

    public Integer getFloorNumber() {
        return floorNumber;
    }

    public void setFloorNumber(Integer floorNumber) {
        this.floorNumber = floorNumber;
    }

    public Integer getPositionNumber() {
        return positionNumber;
    }

    public void setPositionNumber(Integer positionNumber) {
        this.positionNumber = positionNumber;
    }
}